# -*- coding: UTF-8 -*-
# __author__ = 'Sengo'
import os

BASE_DIR = os.path.dirname(os.path.abspath(__file__))

FILE_NAME = "cow"

# 两张图之间的位移差
GRAPH_OFFSET = (1,   1,   1)

C = [35, -35, 35]  # Camera position
P = [3.716360,   2.343387,   0.000000]

# x,y 坐标偏移多少让它们都是正的
OFFSET = 1

SCREEN_SIZE = 600

ROTATE_AXIS1 = [0, 0, 1]

ROTATE_AXIS2 = [0, 1, -1]


#  实验3
AMBIENT_COLOR = (0, 0, 0.3)

REFLECT_N = 2

Kd = 0.5
Ks = 1 - Kd

I = (0, 0, 0.2)  # 入射光
Od = (0, 0, 0.1)  # diffuse
Os = (0, 0, 0.1)  # specular

LIGHT_POSITION = [50, -30, 30]

SHADING_MODEL = 3  # 1: constant 2: Gouraud 3: Phone
